package com.ruoyi.car.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 car_goods
 *
 * @author ruoyi
 * @date 2024-04-07
 */
public class CarGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodsCode;

    /** 车辆照片 */
    @Excel(name = "车辆照片")
    private String goodsImgs;

    /** 驱动形式 */
    @Excel(name = "驱动形式")
    private String drive;

    /** 变速箱 */
    @Excel(name = "变速箱")
    private String box;

    /** 排放标准 */
    @Excel(name = "排放标准")
    private String standard;

    /** 发动机厂家 */
    @Excel(name = "发动机厂家")
    private String mill;

    /** 指导价(万) */
    @Excel(name = "指导价(万)")
    private BigDecimal price;

    /** 车辆详情 */
    @Excel(name = "车辆详情")
    private String goodsDetail;

    /** 现车 */
    private Boolean isCar;

    /** 分类id */
    private Long typeId;

    //------以下为非数据库字段------
    /** 车辆分类 */
    @Excel(name = "车辆分类")
    private String typeName;

    @Excel(name = "是否现车")
    private String isCarStr;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsCode(String goodsCode)
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode()
    {
        return goodsCode;
    }
    public void setGoodsImgs(String goodsImgs)
    {
        this.goodsImgs = goodsImgs;
    }

    public String getGoodsImgs()
    {
        return goodsImgs;
    }
    public void setDrive(String drive)
    {
        this.drive = drive;
    }

    public String getDrive()
    {
        return drive;
    }
    public void setBox(String box)
    {
        this.box = box;
    }

    public String getBox()
    {
        return box;
    }
    public void setStandard(String standard)
    {
        this.standard = standard;
    }

    public String getStandard()
    {
        return standard;
    }
    public void setMill(String mill)
    {
        this.mill = mill;
    }

    public String getMill()
    {
        return mill;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setGoodsDetail(String goodsDetail)
    {
        this.goodsDetail = goodsDetail;
    }

    public String getGoodsDetail()
    {
        return goodsDetail;
    }
    public void setIsCar(Boolean isCar)
    {
        this.isCar = isCar;
    }

    public Boolean getIsCar()
    {
        return isCar;
    }
    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId()
    {
        return typeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("goodsName", getGoodsName())
                .append("goodsCode", getGoodsCode())
                .append("goodsImgs", getGoodsImgs())
                .append("drive", getDrive())
                .append("box", getBox())
                .append("standard", getStandard())
                .append("mill", getMill())
                .append("price", getPrice())
                .append("goodsDetail", getGoodsDetail())
                .append("isCar", getIsCar())
                .append("typeId", getTypeId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }

    public String getIsCarStr() {
        return isCarStr;
    }

    public void setIsCarStr(String isCarStr) {
        this.isCarStr = isCarStr;
    }
}
